package com.skynet.springboot.mybatis.springmybatis.service;

import com.skynet.springboot.mybatis.springmybatis.entity.Employee;

import java.util.List;

/**
 * @author Skynet
 * @Date 2017/9/8-0:06.
 */
public interface EmployeeService {

    List<Employee> queryAllEmployee();

    Employee queryEmployeeById(Integer id);

    void saveEmployee(Employee employee);

    Integer updateEmployee(Employee employee);

    Integer deleteEmployeeById(Object id);

    Employee queryEmpByIdAndName(Integer id, String name);
}
